package com.jinan.shopmall.member;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * 使用 @EnableDiscoveryClient 注解开启服务注册与发现功能
 */
@EnableDiscoveryClient
@MapperScan("com.jinan.shopmall.member.dao")
@SpringBootApplication
public class ShopmallMemberApplication {

    public static void main(String[] args) {
        SpringApplication.run(ShopmallMemberApplication.class, args);
    }

}
